package com.hsjk.szwj.module.pay.dal.mysql;

import com.hsjk.szwj.framework.mybatis.core.mapper.BaseMapperX;
import com.hsjk.szwj.framework.mybatis.core.query.LambdaQueryWrapperX;
import com.hsjk.szwj.module.pay.dal.dataobject.system.MchAppDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/08/21 16:27
 **/
@Mapper
public interface IMchAppMapper extends BaseMapperX<MchAppDO> {
    default List<MchAppDO> listByMchId(Long mchId) {
        return selectList(new LambdaQueryWrapperX<MchAppDO>()
                .eq(MchAppDO::getMchId, mchId));
    }
}
